package com.habdqn.studentmanager.bean.score;

import java.util.Date;

import com.habdqn.studentmanager.bean.Bean;
import com.habdqn.studentmanager.bean.Dictionary;
import com.habdqn.studentmanager.bean.Student;
import com.habdqn.studentmanager.bean.Teacher;

/**
 * 成绩
 * @author Fan
 * 
 * 2017年7月18日
 * 
 */
public class Score extends Bean {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /**
     * 成绩编号
     */
    private Integer id;

    /**
     * 学生信息
     */
    private Student student;

    /**
     * 考试内容
     */
    private String content;

    /**
     * 考试日期
     */
    private Date date;

    /**
     * 考试类型
     */
    private Dictionary type;

    /**
     * 考试方式
     */
    private Dictionary pattern;

    /**
     * 考试分数
     */
    private Double point;

    /**
     * 及格分数
     */
    private Double passScore;

    /**
     * 满分
     */
    private Double totalScore;

    /**
     * 教师
     */
    private Teacher teacher;

    /**
     * 创建时间
     */
    private Date createDate;

    /**
     * 更新时间
     */
    private Date updateDate;

    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @return the student
     */
    public Student getStudent() {
        return student;
    }

    /**
     * @return the content
     */
    public String getContent() {
        return content;
    }

    /**
     * @return the date
     */
    public Date getDate() {
        return date;
    }

    /**
     * @return the type
     */
    public Dictionary getType() {
        return type;
    }

    /**
     * @return the pattern
     */
    public Dictionary getPattern() {
        return pattern;
    }

    /**
     * @return the point
     */
    public Double getPoint() {
        return point;
    }

    /**
     * @return the passScore
     */
    public Double getPassScore() {
        return passScore;
    }

    /**
     * @return the totalScore
     */
    public Double getTotalScore() {
        return totalScore;
    }

    /**
     * @return the teacher
     */
    public Teacher getTeacher() {
        return teacher;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @param student
     *            the student to set
     */
    public void setStudent(Student student) {
        this.student = student;
    }

    /**
     * @param content
     *            the content to set
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * @param date
     *            the date to set
     */
    public void setDate(Date date) {
        this.date = date;
    }

    /**
     * @param type
     *            the type to set
     */
    public void setType(Dictionary type) {
        this.type = type;
    }

    /**
     * @param pattern
     *            the pattern to set
     */
    public void setPattern(Dictionary pattern) {
        this.pattern = pattern;
    }

    /**
     * @param point
     *            the point to set
     */
    public void setPoint(Double point) {
        this.point = point;
    }

    /**
     * @param passScore
     *            the passScore to set
     */
    public void setPassScore(Double passScore) {
        this.passScore = passScore;
    }

    /**
     * @param totalScore
     *            the totalScore to set
     */
    public void setTotalScore(Double totalScore) {
        this.totalScore = totalScore;
    }

    /**
     * @param teacher
     *            the teacher to set
     */
    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }

    /**
     * @return the createDate
     */
    public Date getCreateDate() {
        return createDate;
    }

    /**
     * @return the updateDate
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param createDate
     *            the createDate to set
     */
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * @param updateDate
     *            the updateDate to set
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}
